<script>
  var p="{$p}";//定义页码
  var Class="{$Class}";
  var number="{$number}";
  var year="{$year}";
</script>
<php>if($listData){</php>
<table class="table table_list t2" style="width:100%;margin-left: -15px;">
<foreach name="listData" item="data">
  <tr>
    <td>{$data.rpt_name}</td>
    <td>
      <a target="_black" href="{:U('public/Report/Report',array('rpt_id'=>$data['rpt_id']))}">查看报告</a>
      <if condition="$data['status'] eq 1">
      <a href="{:U('public/Report/studentReport',array('rpt_id'=>$data['rpt_id']))}">待评价</a></if>
      </if>
      <if condition="$data['status'] eq 2">
        <a href="{:U('public/Report/studentReport',array('rpt_id'=>$data['rpt_id']))}">已评价</a>
      </if>
      <a href="javascript:deleteReport({$data['rpt_id']});">删除该报告</a>
    </td>
  </tr>
</foreach>
</table>
<php>}else{</php>                                 
<span>暂无学生报告</span>
<php>}</php>